package com.bdd.jpa.common;

/**
 * @Author Bdd
 * @Description
 *      需要按照需求自定义
 *      消息类型
 * @Date 2019/9/23 16:36
 */
public enum MessageType {

    NOTE("note","smsService","sendMessage"),
    EMAIL("email","emailService","sendMessage");

    private String type;

    private String className;

    private String methodName;

    MessageType(String type, String className, String methodName) {
        this.type = type;
        this.className = className;
        this.methodName = methodName;
    }

    public String getType() {
        return type;
    }

    public String getClassName() {
        return className;
    }

    public String getMethodName() {
        return methodName;
    }
}
